#ifndef __OPENCLGL_UTIL_H__
#define __OPENCLGL_UTIL_H__

#include "PrimaryGeometry.h"
#include "CL/cl.hpp"
#include <SDKUtil/CLUtil.hpp>
#include <SDKUtil/SDKBitMap.hpp>
#include "opencv2/opencv.hpp"

void previewPixelBuffer(int bWidth,int bHeight, GLuint buffer);
void previewTexture2D(int tWidth,int tHeight, GLuint & texture);
int showDataCLMem1D(int bWidth,int bHeight,cl_mem buf,cl_command_queue & commandQueue, std::string name);
int showMemSum1D(int bWidth,int bHeight,cl_mem buf,cl_command_queue & commandQueue);
void copyTex2d(int bWidth,int bHeight,GLuint & sourceTex2d,GLuint& tTex2d);
#endif